package com.timerecording.Enum;

import lombok.Getter;
import lombok.ToString;

/**
 * @author smz41
 */

@Getter
@ToString
public enum DisabledEnum implements  BaseEnum{
    ENABLE(0,"启用"),

    DISABLE(1,"禁用")
    ;

    private Integer value;

    private String desc;

    DisabledEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }


    @Override
    public Integer getValue() {
        return value;
    }

    /**
     * 获取枚举类的说明
     *
     * @return String
     */
    @Override
    public String getDesc() {
        return desc;
    }
}
